package com.gxa.autoparts.admin.mapper;

import com.gxa.autoparts.core.pojo.Role;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface RoleMapper extends Mapper<Role> {
    Role selectRole(Long id);
    void delectByRid(Long id);



    List<Role> selectByDesc(String desc);

    void insertRole(Role role);
    Role selectByRole(Role role);

    void updateRole(Role role);

    List<Role> selectAllRole(Integer page,Integer size);
    List<Role> selectAllRole2();
}
